all : sub_kv curr
	make -C obj

sub_kv : ECHO
	make -C kv

ECHO :
	@echo "enter dir kv "

curr : FileOpQueue.o Lock.o Transaction.o MDS.o mds_main.o


FileOpQueue.o : FileOpQueue.cc
	g++ -std=c++11 -c FileOpQueue.cc -o ./obj/FileOpQueue.o -I/home/liuzhenqing/DSS/code/mrpc

Lock.o : Lock.cc
	g++ -std=c++11 -c Lock.cc -o ./obj/Lock.o -I. -I/home/liuzhenqing/DSS/code/debug

Transaction.o : Transaction.cc
	g++ -std=c++11 -c Transaction.cc -o ./obj/Transaction.o

MDS.o : MDS.cc
	g++ -std=c++11 -c MDS.cc -o ./obj/MDS.o -I/home/liuzhenqing/DSS/code/mrpc -I. -I/home/liuzhenqing/DSS/code/debug

mds_main.o : mds_main.cc
	g++ -std=c++11 -c mds_main.cc -o ./obj/mds_main.o -I/home/liuzhenqing/DSS/code/mrpc -I. -I/home/liuzhenqing/DSS/code/debug

.PHONY:clean
clean :
	rm -f ./obj/*.o ./obj/mds



